package com.geline.sqlbackup.bean;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 人大金仓字段信息定义
 * @author: mengx
 * @date: 2021/10/16 11:22
 */
@Getter
@Setter
public class KingbaseColumn implements Serializable {

    private Integer ordinalPosition;//排序号，1一般为主键
    private String columnName;
    private String columnDefault;//主键默认值：NEXTVAL(xxx)
    private String isNullable;//NO, YES
    private String dataType;//character varying, bigint
    private String udtName;//varchar, int8, timestamptz
    private Integer characterMaximumLength;//字符串长度
    private Integer numericPrecision;//数字整数位长度
    private Integer numericScale;//数字小数位长度
}
